<?php
/**
 * Created by PhpStorm.
 * User: fizz
 * Date: 2017/6/11
 * Time: 20:50
 */
$config['db_default'] = 'mysql2';

$config['mysql'] = [
    'driver'    => 'mysql',
    'host'      => 'localhost',
    'database'  => 'test',
    'username'  => 'root',
    'password'  => 'root',
    'charset'   => 'utf8',
    'collation' => 'utf8_unicode_ci',
    'prefix'    => '',
    'read'      => [
        'host'  => '127.0.0.1'
    ],
    'write'      => [
        'host'  => '127.0.0.1'
    ]
];

$config['mysql2'] = [
    'driver'    => 'mysql',
    'host'      => '192.168.200.248',
    'database'  => 'wcc_service_fooddrug',
    'username'  => 'gcore',
    'password'  => 'gcore',
    'charset'   => 'utf8',
    'collation' => 'utf8_unicode_ci',
    'prefix'    => '',
    'read'      => [
        'host'  => '127.0.0.1'
    ],
    'write'      => [
        'host'  => '127.0.0.1'
    ]
];

return $config;